export default {
  methods: {
    checkPerm(btnname) {
      const roles = this.$store.state.user.userInfo.roles
      return roles ? roles.points.includes(btnname) : false
    }
  }
}
